package com.ktg.ktgcommon.domain.wms;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WmBatch {

  private Long batchId;
  private String batchCode;
  private Long itemId;
  private String itemCode;
  private String itemName;
  private String specification;
  private String unitOfMeasure;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date produceDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date expireDate;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date recptDate;
  private Long vendorId;
  private String vendorCode;
  private String vendorName;
  private String vendorNick;
  private Long clientId;
  private String clientCode;
  private String clientName;
  private String clientNick;
  private String coCode;
  private String poCode;
  private Long workorderId;
  private String workorderCode;
  private Long taskId;
  private String taskCode;
  private Long workstationId;
  private String workstationCode;
  private Long toolId;
  private String toolCode;
  private Long moldId;
  private String moldCode;
  private String productCode;
  private String qualityStatus;
  private String remark;
  private String attr1;
  private String attr2;
  private Long attr3;
  private Long attr4;
  private String createBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
  private String updateBy;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
